﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KATS_Client.UI
{
    /// <summary>
    /// Holds data on the selected from the drop down menu
    /// </summary>
    class CopyOrMoveAction
    {
        /// <summary>
        /// Is this action a copy?
        /// </summary>
        public bool isCopy;
        /// <summary>
        /// Is this action a move?
        /// </summary>
        public bool isMove
        {
            get { return isCopy; }
            set { isCopy = !value; }
        }
        /// <summary>
        /// The target tab for this action
        /// </summary>
        public Client.FileSystemObject TargetDirectory;
        
        /// <summary>
        /// Create a copy or move action
        /// </summary>
        /// <param name="isCopy">Is the action a copy? if move, then use false</param>
        /// <param name="TargetTab">The target tab for this action</param>
        public CopyOrMoveAction(bool isCopy, Client.FileSystemObject TargetDirectory)
        {
            this.isCopy = isCopy;
            this.TargetDirectory = TargetDirectory;
        }
    }
}
